<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .span{
            /* margin:50px; */
            padding:50px;
        }
        *{
            margin:0;
            padding:0;
        }
        .container{
            width:1000px;
            height: 80px;
            background-color: red;
            margin:0 auto;
    
        }
    </style>
</head>
<body>
    <h1>盒子模型</h1>
    <!-- <div>block</div>
    <span class="span">span1</span>
    <span>span2</span>
    <div>block</div> -->
    <p>p</p>
    <ul>
        <li>1</li>
        <li>2</li>
    </ul>
    <div>
        <div class="container">
            内容
        </div>
    </div>
</body>
</html>